package com.ruoyi.common.core.domain.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 device_config
 * 
 * @author ruoyi
 * @date 2022-09-06
 */
public class DeviceConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long configId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long deviceId;

    /** shaker_name */
    @Excel(name = "shaker_name")
    private String shakerName;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String ipAddr;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String subnetMask;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String gateway;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String port;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long modbusId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String baudRate;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String dataBits;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String parity;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String stopBits;

    public void setConfigId(Long configId) 
    {
        this.configId = configId;
    }

    public Long getConfigId() 
    {
        return configId;
    }
    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }
    public void setShakerName(String shakerName) 
    {
        this.shakerName = shakerName;
    }

    public String getShakerName() 
    {
        return shakerName;
    }
    public void setIpAddr(String ipAddr) 
    {
        this.ipAddr = ipAddr;
    }

    public String getIpAddr() 
    {
        return ipAddr;
    }
    public void setSubnetMask(String subnetMask) 
    {
        this.subnetMask = subnetMask;
    }

    public String getSubnetMask() 
    {
        return subnetMask;
    }
    public void setGateway(String gateway) 
    {
        this.gateway = gateway;
    }

    public String getGateway() 
    {
        return gateway;
    }
    public void setPort(String port) 
    {
        this.port = port;
    }

    public String getPort() 
    {
        return port;
    }
    public void setModbusId(Long modbusId) 
    {
        this.modbusId = modbusId;
    }

    public Long getModbusId() 
    {
        return modbusId;
    }
    public void setBaudRate(String baudRate) 
    {
        this.baudRate = baudRate;
    }

    public String getBaudRate() 
    {
        return baudRate;
    }
    public void setDataBits(String dataBits) 
    {
        this.dataBits = dataBits;
    }

    public String getDataBits() 
    {
        return dataBits;
    }
    public void setParity(String parity) 
    {
        this.parity = parity;
    }

    public String getParity() 
    {
        return parity;
    }
    public void setStopBits(String stopBits) 
    {
        this.stopBits = stopBits;
    }

    public String getStopBits() 
    {
        return stopBits;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("configId", getConfigId())
            .append("deviceId", getDeviceId())
            .append("shakerName", getShakerName())
            .append("ipAddr", getIpAddr())
            .append("subnetMask", getSubnetMask())
            .append("gateway", getGateway())
            .append("port", getPort())
            .append("modbusId", getModbusId())
            .append("baudRate", getBaudRate())
            .append("dataBits", getDataBits())
            .append("parity", getParity())
            .append("stopBits", getStopBits())
            .toString();
    }
}
